home *** CD-ROM | disk | FTP | other *** search
/ Libris Britannia 4 / science library(b).zip / science library(b) / PROGRAMM / DB_CLIPP / 0769A.ZIP / SUBSTRM.DOC < prev    next >
Text File  |  1987-11-11  |  2KB  |  30 lines

  1. /*********************************************************************/
  2. /**                                                                 **/
  3. /** SUBSTRMEMO ()                                                   **/
  4. /**                                                                 **/
  5. /** Syntax: SUBSTRMEMO (<expC) [, <expN> [, <expN]] )               **/
  6. /**                                                                 **/
  7. /** Returns: A string containing the specified number of lines from **/
  8. /**          a memo field.  The sub-portion of the memo field       **/
  9. /**          starts with the first number specified and includes    **/
  10. /**          all the lines up to and including the last number.     **/
  11. /**          Useful if you must print a memo field that is more     **/
  12. /**          than a page in length                                  **/
  13. /**          If start > end, a nul string is returned               **/
  14. /**                                                                 **/
  15. /** Example: ? substrmemo (memofld, 3, 5) => return lines 3 to 5 of **/
  16. /**                                          the field MEMOFLD      **/
  17. /**          ? substrmemo (memofld, 8)    => returns the remainder  **/
  18. /**                                          of the field MEMOFLD   **/
  19. /**                                          starting at line 8     **/
  20. /**          ? substrmemo (memofld, 7, 7) => return line 7          **/
  21. /**          ? substrmemo (memofld)       => returns whole field    **/
  22. /**          ? substrmemo (memofld, 5, 3) => return nul string      **/
  23. /**                                                                 **/
  24. /** Compiler:  Lattice v3.1 :: LC -ml -v -n substrm                 **/
  25. /**                                                                 **/
  26. /** Author:  Matt Colegrove                                         **/
  27. /**                                                                 **/
  28. /*********************************************************************/
  29.  
  30.